import 'package:flutter/material.dart';
import 'package:hkzf_flutter/widgets/information/index.dart';
import 'package:hkzf_flutter/widgets/search_bar/index.dart';

class InfoPage extends StatelessWidget {
  const InfoPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          title: SearchBarWidget(
            onSearch: () => {
              Navigator.pushNamed(context, '/search')
            },
          ),
          backgroundColor: Colors.white,
      ),
      body: ListView(
        children: [
          InformationPanel(showTitle: false)
        ],
      ),
    );
  }
}